ci(gh-aw): bump apm-action v1.5.0 -> v1.6.0 for plugin-bundle defenses#1121
Merged
danielmeppiel merged 1 commit intomainfrom May 3, 2026
Merged
ci(gh-aw): bump apm-action v1.5.0 -> v1.6.0 for plugin-bundle defenses#1121danielmeppiel merged 1 commit intomainfrom
danielmeppiel merged 1 commit intomainfrom
Conversation
The compiled gh-aw lock workflows pinned microsoft/apm-action@v1.5.0 by commit SHA, which packs APM bundles with no explicit --format. After apm 0.12.0 silently flipped 'apm pack' default --format from 'apm' to 'plugin', the resulting plugin-layout bundles are rejected by the strict completeness check in 'apm unpack' (deployed_files lists target-prefixed paths like .agents/skills/... that don't exist in the plugin-native layout). Symptom: Triage Panel run 25280156338 failed the agent job's restore step. apm-action v1.6.0 defaults the bundle-format input to 'apm', passes '--format apm' explicitly to 'apm pack', and refuses plugin-format bundles at restore with a friendly error. The floating v1 tag already points at v1.6.0, but lock workflows pin the literal SHA, so a recompile is required to pick up the new resolution. Bumps the shared workflow's pin from v1.5.0 -> v1.6.0 and recompiles all gh-aw workflows. Resolved SHA: 275e67418e97c26025852c7e91730cf4c11baf30. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Bumps the GitHub Agentic Workflows (gh-aw) APM shared workflow from microsoft/apm-action@v1.5.0 to v1.6.0 and recompiles the affected lock workflows so the new commit SHA is pinned, restoring the Triage / PR Review panel workflows after the apm pack default format change.
Changes:
- Update
.github/workflows/shared/apm.mdto usemicrosoft/apm-action@v1.6.0. - Regenerate the gh-aw compiled lock workflows to pin
microsoft/apm-actionto275e67418e97c26025852c7e91730cf4c11baf30(v1.6.0). - Extend
.github/aw/actions-lock.jsonwith the newmicrosoft/apm-action@v1.6.0entry.
Show a summary per file
| File | Description |
|---|---|
.github/workflows/shared/apm.md |
Updates the shared gh-aw APM workflow to use microsoft/apm-action@v1.6.0. |
.github/workflows/triage-panel.lock.yml |
Recompiled lock workflow to pin microsoft/apm-action to the v1.6.0 SHA. |
.github/workflows/pr-review-panel.lock.yml |
Recompiled lock workflow to pin microsoft/apm-action to the v1.6.0 SHA. |
.github/aw/actions-lock.json |
Adds the microsoft/apm-action@v1.6.0 tag-to-SHA mapping used by gh-aw compilation. |
Copilot's findings
- Files reviewed: 4/4 changed files
- Comments generated: 0
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
TL;DR
Bumps the gh-aw shared workflow pin
microsoft/apm-action@v1.5.0->@v1.6.0and recompiles the affected lock workflows so the new SHA (275e67418e97c26025852c7e91730cf4c11baf30) is baked in. Unblocks the Triage / PR Review panel agentic workflows, which broke afterapm0.12.0 silently flippedapm pack's default--formatfromapmtoplugin.Problem (WHY)
Failing run: https://github.com/microsoft/apm/actions/runs/25280156338 (Triage Panel, agent job).
apm unpackrejects the bundle with:Two changes collided:
--formatofapm packfromapmtoplugin(src/apm_cli/commands/pack.py:60-61). Plugin-format bundles store files at plugin-native paths (agents/,skills/,commands/) but the embedded enrichedapm.lock.yamllistsdeployed_filesat deploy-time, target-prefixed paths (.github/agents/...,.agents/skills/...).apm unpack's strict completeness verification (src/apm_cli/bundle/unpacker.py:140-146, unchanged from v0.11) then rejects every plugin bundle.*.lock.ymlfiles pinnedmicrosoft/apm-action@454b8a1d... # v1.5.0, whosebundler.tscallsapm packwith no explicit--formatand so inherits the new (broken-for-this-flow) CLI default. The floatingv1tag already points at v1.6.0, but the SHA pin freezes the resolution -- only a recompile picks up the new SHA.Approach (WHAT)
microsoft/apm-action@v1.6.0adds the defenses:bundle-formatinput, defaultapm.--format apmexplicitly toapm pack.Bump the shared workflow pin to
v1.6.0and recompile the lock files so the new SHA is recorded.Implementation (HOW)
.github/workflows/shared/apm.md: 5 textual occurrences ofmicrosoft/apm-action@v1.5.0->@v1.6.0(header pin comment, Pack step, Restore step, two doc references).gh aw compileregenerated:.github/workflows/triage-panel.lock.yml.github/workflows/pr-review-panel.lock.yml.github/aw/actions-lock.json(added the v1.6.0 entry; v1.5.0 entry retained as gh-aw's append-only registry).cli-consistency-checker,daily-doc-updater,daily-test-improver) do not import the shared apm workflow and were unchanged in substance.Resolved SHA verification:
Validation
gh aw compile: 5 workflows, 0 errors, 1 unrelated warning (push-to-pull-request-branch: target: "*"advisory on a different workflow, pre-existing).grep -h "apm-action@" .github/workflows/*.lock.ymlreturns only the new v1.6.0 SHA.Follow-ups (separate PRs)
--formatdefault flip in apm 0.12.0 should be called out inCHANGELOG.mdas a breaking change.apm unpackshould learn the plugin layout, or whether the deprecation towardapm install <bundle>should be accelerated.Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com